package cn.hist.hfp.repository;

import cn.hist.hfp.entity.Manager;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ManagerRepository extends JpaRepository<Manager, Integer> {

    Manager findByLoginNameAndPassword(String loginName, String password);
}
